<template>
  <div class="monitoring-container wh-full relative">
    <!-- <Demo /> -->
     <span class="absolute top-10 right-10" @click="handleClick">123</span>
  </div>
</template>

<script setup>
// import Demo from './Demo.vue';
import TestModal from './com/TestModal.vue';
import { useFormModal } from '@/hooks/modal/useFormModal';
const { openModal } = useFormModal();
const handleClick = () => {
  openModal(TestModal,{title:"qwe"}).then(res=>{
    console.log(res,"res");
    
  })
}
</script>
